package com.ruoyi.slope.video.radar.service.impl;

import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.slope.video.radar.mapper.RadarMonitoringPngMapper;
import com.ruoyi.slope.video.radar.domain.RadarMonitoringPng;
import com.ruoyi.slope.video.radar.service.IRadarMonitoringPngService;

/**
 * 雷达监测图片数据Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-28
 */
@Service
public class RadarMonitoringPngServiceImpl implements IRadarMonitoringPngService 
{
    @Autowired
    private RadarMonitoringPngMapper radarMonitoringPngMapper;

    /**
     * 查询雷达监测图片数据
     * 
     * @param atTime 雷达监测图片数据主键
     * @return 雷达监测图片数据
     */
    @Override
    public RadarMonitoringPng selectRadarMonitoringPngByAtTime(Date atTime)
    {
        return radarMonitoringPngMapper.selectRadarMonitoringPngByAtTime(atTime);
    }

    /**
     * 查询雷达监测图片数据列表
     * 
     * @param radarMonitoringPng 雷达监测图片数据
     * @return 雷达监测图片数据
     */
    @Override
    public List<RadarMonitoringPng> selectRadarMonitoringPngList(RadarMonitoringPng radarMonitoringPng)
    {
        return radarMonitoringPngMapper.selectRadarMonitoringPngList(radarMonitoringPng);
    }

    /**
     * 新增雷达监测图片数据
     * 
     * @param radarMonitoringPng 雷达监测图片数据
     * @return 结果
     */
    @Override
    public int insertRadarMonitoringPng(RadarMonitoringPng radarMonitoringPng)
    {
        return radarMonitoringPngMapper.insertRadarMonitoringPng(radarMonitoringPng);
    }

    /**
     * 修改雷达监测图片数据
     * 
     * @param radarMonitoringPng 雷达监测图片数据
     * @return 结果
     */
    @Override
    public int updateRadarMonitoringPng(RadarMonitoringPng radarMonitoringPng)
    {
        return radarMonitoringPngMapper.updateRadarMonitoringPng(radarMonitoringPng);
    }

    /**
     * 批量删除雷达监测图片数据
     * 
     * @param atTimes 需要删除的雷达监测图片数据主键
     * @return 结果
     */
    @Override
    public int deleteRadarMonitoringPngByAtTimes(Date[] atTimes)
    {
        return radarMonitoringPngMapper.deleteRadarMonitoringPngByAtTimes(atTimes);
    }

    /**
     * 删除雷达监测图片数据信息
     * 
     * @param atTime 雷达监测图片数据主键
     * @return 结果
     */
    @Override
    public int deleteRadarMonitoringPngByAtTime(Date atTime)
    {
        return radarMonitoringPngMapper.deleteRadarMonitoringPngByAtTime(atTime);
    }
}
